<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/include/jstl.jsp" %>
<div class="page unitBox" style="background-color:#E8F1FD;" >
    <h2 class="contentTitle">用户限额明细</h2>
    <div class="pageContent"  style="background-color:#E8F1FD;"> 
     <div class="pageFormContent" layoutH="87">
        <table  border="0" width="50%" height="70%">
            <tr height="25px">
                <td>用户状态：</td>
                <td colspan="3">
                    <c:if test="${ETF.LIMIT_USER_TYPE == null}"><input type="text" value="未知"     size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_USER_TYPE =='1'}"  ><input type="text" value="实名"     size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_USER_TYPE =='2'}"  ><input type="text" value="非实名"   size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_USER_TYPE =='3'}"  ><input type="text" value="指定证件" size="30" readonly /></c:if>
                </td>
            </tr>
   
            <tr height="25px">
                <td>用户证件号：</td>
                <td colspan="3">
                    <input type="text" value="${ETF.LIMIT_PAPER_CODE}" size="30" readonly /> 
                </td>
            </tr> 
            <tr height="25px">
                <td>限额生效时间范围：</td>
                <td colspan="3">
                    <c:if test = "${ETF.LIMIT_START_DATE == '19700101' }">
                        <input type="text"   value='永久'  size="30"   readonly /> 
                    </c:if>                                    
                    <c:if test = "${ETF.LIMIT_START_DATE != '19700101' }">
                        <input type="text" value=${ETF.LIMIT_START_DATE}至${ETF.LIMIT_END_DATE} size="30" readonly />   
                    </c:if>
                </td>
            </tr> 
            <!--****begain_liuyanwei_20130402_add_增加交易类型*********-->
            <tr height="25px">
                <td>交易类型 ：</td>
                <td colspan="3">
                    <c:if test="${ETF.TRAN_TYPE==0}"><input type="text" value="其他          " size="30" readonly /></c:if>
                    <c:if test="${ETF.TRAN_TYPE==1}"><input type="text" value="充值          " size="30" readonly /></c:if>
                    <c:if test="${ETF.TRAN_TYPE==2}"><input type="text" value="消费          " size="30" readonly /></c:if>
                  
                    <c:if test="${ETF.TRAN_TYPE==7}"><input type="text" value="提现          " size="30" readonly /></c:if>
                    <c:if test="${ETF.TRAN_TYPE==8}"><input type="text" value="退款          " size="30" readonly /></c:if>
                </td>
            </tr>
            <!--****begain_liuyanwei_20130402_add_增加交易类型*********-->
            <tr height="25px">
                <td> 支付方式 ：</td>
                <td colspan="3">
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='00'}"> <input type="text" value="全部"     size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='01'}"> <input type="text" value="网银"     size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='02'}"> <input type="text" value="终端"     size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='03'}"> <input type="text" value="消费卡"   size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='04'}"> <input type="text" value="虚拟账户" size="30" readonly /></c:if>
                    <c:if test="${ETF.LIMIT_BUS_CLIENT =='05'}"> <input type="text" value="快捷支付"     size="30" readonly /></c:if>
                </td>
            </tr> 
            <tr height="25px">
                <td>单笔最大金额：</td>
                <td>
                    <input type="text" id="LIMIT_MAX_AMT" name="LIMIT_MAX_AMT"  
                        value="<c:if test="${ETF.LIMIT_MAX_AMT!=null}"><fmt:formatNumber type='currency' value='${ETF.LIMIT_MAX_AMT/100}' pattern='0.00'/></c:if>" 
                        size="30"  readonly/>
                    <span class="info">（单位：元）</span>  
                </td>
            </tr>
            <tr height="25px">
                <td>单笔最小金额：</td>
                <td>
                    <input type="text" id="LIMIT_MIN_AMT" name="LIMIT_MIN_AMT" 
                        value="<c:if test="${ETF.LIMIT_MIN_AMT!=null}"><fmt:formatNumber type='currency' value='${ETF.LIMIT_MIN_AMT/100}' pattern='0.00'/></c:if>" 
                        size="30" readonly/>
                    <span class="info">（单位：元）</span>  
                </td>
            </tr>
            <tr height="25px">
                <td>每日交易次数：</td>
                <td>
                    <input type="text" id="LIMIT_DAY_TIMES"  name="LIMIT_DAY_TIMES"  value="${ETF.LIMIT_DAY_TIMES}"  size="30" readonly />
                    <span class="info">（单位：次）</span>  
                </td>
            </tr>
            <tr height="25px">
                <td>每日交易限额：</td>
                <td>
                    <input type="text" id="LIMIT_DAY_AMT"  name="LIMIT_DAY_AMT"  
                        value="<c:if test="${ETF.LIMIT_DAY_AMT!=null}"><fmt:formatNumber type='currency' value='${ETF.LIMIT_DAY_AMT/100}' pattern='0.00'/></c:if>" 
                        size="30" max="99999999999.99"  min="0" maxLength="14"  class="number" readonly /> 
                    <span class="info">（单位：元）</span>
                </td>
            </tr>             
            <tr height="35px">
                <td>每月交易次数：</td>
                <td>
                    <input type="text" id="LIMIT_MONTH_TIMES" name="LIMIT_MONTH_TIMES" value="${ETF.LIMIT_MONTH_TIMES}" size="30"  readonly />
                    <span class="info">（单位：次）</span>  
                </td>
            </tr>             
            <tr height="35px">
                <td>每月交易限额：</td>
                <td>
                    <input type="text" id="LIMIT_MONTH_AMT"  name="LIMIT_MONTH_AMT" 
                        value="<c:if test="${ETF.LIMIT_MONTH_AMT!=null}"><fmt:formatNumber type='currency' value='${ETF.LIMIT_MONTH_AMT/100}' pattern='0.00'/></c:if>" 
                        size="30" readonly  />
                    <span class="info">（单位：元）</span>  
                </td>
            </tr>
            <tr height="35px">
                <td>每年交易次数：</td>
                <td>
                    <input type="text" id="LIMIT_YEAR_TIMES" name="LIMIT_YEAR_TIMES" value="${ETF.LIMIT_YEAR_TIMES}" size="30"  readonly />
                    <span class="info">（单位：次）</span>  
                </td>
            </tr>             
            <tr height="35px">
                <td>每年交易限额：</td>
                <td>
                    <input type="text" id="LIMIT_YEAR_AMT"  name="LIMIT_YEAR_AMT" 
                        value="<c:if test="${ETF.LIMIT_YEAR_AMT!=null}"><fmt:formatNumber type='currency' value='${ETF.LIMIT_YEAR_AMT/100}' pattern='0.00'/></c:if>" 
                        size="30" readonly  />
                    <span class="info">（单位：元）</span>  
                </td>
            </tr>
            <tr height="35px">
                <td>启用标志：</td>
                <td colspan="3">
                    <input type="text"
                        <c:if test="${ETF.IS_USE eq '1'}">value="已启用"</c:if>
                        <c:if test="${ETF.IS_USE eq '0'}">value="未启用"</c:if> size="30"   readonly />   
                </td>
            </tr>
            <tr height="35px">
                <td>备注信息：</td>
                <td colspan="3">
                    <input type="text" value="${ETF.LIMIT_ADDINFO}" size="30" readonly />   
                </td>
            </tr>
        </table>
        <table  border="0" width="100%" height="20">
            &nbsp;
        </table>
    </div>
    <div class="formBar" >
        <ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="button" class="close">返回</button></div></div></li>
        </ul>
    </div>
</div>